/*
 * Copyright (c) 2003-2005
 * XDoclet Team
 * All rights reserved.
 */
package org.xdoclet.plugin.hibernate.qtags.parameter;

/**
 * @author Anatol Pomozov
 */
public interface SelectBeforeUpdate {
    /**
     * Specifies that Hibernate should never perform an SQL UPDATE unless it is certain that an object
     * is actually modified. In certain cases (actually, only when a transient object has been associated
     * with a new session using update()), this means that Hibernate will perform an extra SQL SELECT to
     * determine if an UPDATE is actually required.
     */
    Boolean getSelectBeforeUpdate();
}